<template>
  <footer class="site-footer">
    <div class="footer-content">
      <div class="footer-section">
        <h4>关于我们</h4>
        <p>致力于提供高质量的在线教育服务</p>
      </div>
      <div class="footer-section">
        <h4>快速链接</h4>
        <ul>
          <li><router-link to="/">首页</router-link></li>
          <li><router-link to="/courses">课程</router-link></li>
          <li><router-link to="/about">关于</router-link></li>
          <li><router-link to="/contact">联系</router-link></li>
        </ul>
      </div>
      <div class="footer-section">
        <h4>联系方式</h4>
        <p>邮箱：support@onlinelearn.com</p>
        <p>电话：400-123-4567</p>
      </div>
    </div>
    <div class="footer-bottom">
      <p>&copy; 在线学习平台. 保留所有权利。</p>
    </div>
  </footer>
</template>

<script setup lang="ts">
// Footer 组件逻辑
</script>

<style scoped>
.site-footer {
  background-color: #333;
  color: white;
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  margin: 0 15px;
}

.footer-section h4 {
  border-bottom: 2px solid #4CAF50;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: white;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #555;
}
</style>